package org.example.asteroides;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;

public class AcercaDe extends Activity{
	
	MediaPlayer mp = null;
	
	@Override public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.acercade);
		/*MediaPlayer*/ mp = MediaPlayer.create(this, R.raw.audio);
		mp.start();
	}
	
	@Override
	protected void onPause() {
		mp.pause();		
	}

	@Override
	protected void onResume() {
		mp.reset();
	}

	@Override
	protected void onDestroy() {
		mp.stop();
	}

}
